package com.example.demo.dao;

import com.example.demo.modal.Concept;
import java.util.List;

public interface ConceptMapper {
    int deleteByPrimaryKey(Integer conceptId);

    int insert(Concept record);

    List<Concept> selectByPrimaryKey(Integer conceptId);

    List<Concept> selectAll();

    int selectMaxId();

    int updateByPrimaryKey(Concept record);

    List<Concept> selectByVariaName(String name);

    List<Concept> selectByParentId(Integer id);
}